package com.cn.yds.bdy.dao.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class Topic implements Serializable {
    private Integer id;
    private Integer teacherId;
    private String topicName;
    private String description;
    private String teacherName;
    private String typeName;
    private String opinion;
    private String tel;

    public Topic(Integer id, Integer teacherId, String topicName, String description, String teacherName, String typeName, String tel) {
        this.id = id;
        this.teacherId = teacherId;
        this.topicName = topicName;
        this.description = description;
        this.teacherName = teacherName;
        this.typeName = typeName;
        this.tel = tel;
    }

    public Topic(Integer id, Integer teacherId, String topicName, String description, String typeName) {
        this.id = id;
        this.teacherId = teacherId;
        this.topicName = topicName;
        this.description = description;
        this.typeName = typeName;
    }
}
